import { UserId } from "../user/model";

export type PostId = number;

export type PostFormat = 'md' | 'html' | 'adoc' | 'txt';

export interface Post {
  title: string;
  postId: PostId;
  userId: UserId
  content: string;
  format: PostFormat;
}
